package com.changgou.seckill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author tu zy
 * @version 1.0
 * @date 2021/7/9 23:25
 */


@SpringBootApplication
@EnableFeignClients
@EnableEurekaClient
@EnableScheduling
@MapperScan(basePackages = {"com.changgou.seckill.dao"})
@Async
public class SeckillApplication {

    public static void main(String[] args) {

        SpringApplication.run(SeckillApplication.class,args);

    }

}
